-- GENERATED SPELL FOR [Fandral Staghelm] --


function spell0_15382(pUnit, Event) --@Call Ancients,Self--
pUnit:FullCastSpellOnTarget(25167,pUnit)
pUnit:RegisterEvent('Sorts_15382', 7000, 1)
end

function Sorts_15382(pUnit, Event)
local choix_sorts_15382 = math.random(0, 0)
if choix_sorts_15382 == 0 then
pUnit:RegisterEvent('spell0_15382', 1, 1)
end
end

function mob15382_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15382', math.random(1500, 3000), 1)
end

function mob15382_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15382_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15382_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15382, 1, 'mob15382_Action')
RegisterUnitEvent(15382, 2, 'mob15382_Leave')
RegisterUnitEvent(15382, 3, 'mob15382_Kill')
RegisterUnitEvent(15382, 4, 'mob15382_Die')
